﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>

    <script language="JavaScript" src="../js/jquery.js"></script>

    <script type="text/javascript">
      $(function () {
        //导航切换
        // $(".menuson .header").click(function() {
        //     var $parent = $(this).parent();
        //     $(".menuson>li.active").not($parent).removeClass("active open").find('.sub-menus').hide();

        //     $parent.addClass("active");
        //     if (!!$(this).next('.sub-menus').size()) {
        //         if ($parent.hasClass("open")) {
        //             $parent.removeClass("open").find('.sub-menus').hide();
        //         } else {
        //             $parent.addClass("open").find('.sub-menus').show();
        //         }
        //     }
        // });

        // // 三级菜单点击
        // $('.sub-menus li').click(function(e) {
        //     $(".sub-menus li.active").removeClass("active")
        //     $(this).addClass("active");
        // });

        $('.title').click(function () {
          var $ul = $(this).next('ul');
          $('dd').find('.menuson').slideUp();
          if ($ul.is(':visible')) {
            $(this).next('.menuson').slideUp();
          } else {
            $(this).next('.menuson').slideDown();
          }
        });
      });
    </script>

    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <style>
      .active {
        color: #00a4ac;
        /* background-color: #aaf; */
      }
    </style>
  </head>

  <body style="background: #f0f9fd; overflow: hidden">
    <dl class="leftmenu">
      <dd id="client">
        <div class="title"><span></span>客户管理<i class="down_i"></i></div>
        <ul class="menuson">
          <li>
            <cite></cite
            ><a href="../html/pages/customer/individual.html" target="right"
              >个人客户</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/customer/reserve.html" target="right"
              >预约查询</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/customer/group.html" target="right"
              >团队客户</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/customer/common.html" target="right"
              >公海客户</a
            ><i></i>
          </li>
        </ul>
      </dd>
      <dd id="student">
        <div class="title"><span></span>学生管理<i class="down_i"></i></div>
        <ul class="menuson">
          <li>
            <cite></cite
            ><a
              href="../html/pages/student/index.html?trainType=education"
              target="right"
              >学历提升</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/student/index.html?trainType=occupation"
              target="right"
              >职业技能</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/student/index.html?trainType=title"
              target="right"
              >职称评审</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/student/index.html?trainType=train"
              target="right"
              >执业资格</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/hotel/studentSearch.html" target="right"
              >学生信息查询</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/hotel/studentGo.html" target="right"
              >学生信息迁移</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/hotel/paySearch.html" target="right"
              >分期缴费信息查询</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/hotel/personal.html" target="right"
              >个人业绩查询</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/student/supplement-search.html"
              target="right"
              >学生资料补录</a
            ><i></i>
          </li>
        </ul>
      </dd>
      <dd id="jiaowu">
        <div class="title"><span></span>教务管理<i class="down_i"></i></div>
        <ul class="menuson">
          <li>
            <cite></cite
            ><a href="../html/pages/trade/tradeSearch.html" target="right"
              >教务信息管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/trade/tradeList.html" target="right"
              >课程信息维护</a
            ><i></i>
          </li>
          <li id="export-21">
            <cite></cite
            ><a href="../html/pages/trade/export.html" target="right"
              >资料导出(学历提升)</a
            ><i></i>
          </li>
          <li id="export-23">
            <cite></cite
            ><a href="../html/pages/trade/export-zyjn.html" target="right"
              >资料导出(职业技能)</a
            ><i></i>
          </li>
          <li id="export-24">
            <cite></cite
            ><a href="../html/pages/trade/export-zcps.html" target="right"
              >资料导出(职称评审)</a
            ><i></i>
          </li>
          <li id="export-22">
            <cite></cite
            ><a href="../html/pages/trade/export-zyzg.html" target="right"
              >资料导出(执业资格)</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/trade/application.html" target="right"
              >报考管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/trade/certificate.html" target="right"
              >证书管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/trade/work.html" target="right"
              >工作流查询</a
            ><i></i>
          </li>
          <!-- <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationBackground.html?educationType=1"
              target="right"
              >学历层次管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationBackground.html?educationType=2"
              target="right"
              >学历学校管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationBackground.html?educationType=3"
              target="right"
              >学历专业管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationMode.html?educationType=1"
              target="right"
              >学历学习形式管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationMode.html?educationType=2"
              target="right"
              >学历批次管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationMajor.html?educationType=1"
              target="right"
              >职业技能类别管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationMajor.html?educationType=2"
              target="right"
              >职业专业管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationMajor.html?educationType=3"
              target="right"
              >职业批次管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationJob.html?educationType=1"
              target="right"
              >职称等级管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationJob.html?educationType=2"
              target="right"
              >职称系列管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationJob.html?educationType=3"
              target="right"
              >职称专业管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationJob.html?educationType=4"
              target="right"
              >职称批次管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationQualifications.html?educationType=1"
              target="right"
              >执业资格项目管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationQualifications.html?educationType=2"
              target="right"
              >执业资格科目管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationQualifications.html?educationType=3"
              target="right"
              >执业资格班次管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/trade/educationQualifications.html?educationType=4"
              target="right"
              >执业资格批次管理</a
            ><i></i>
          </li> -->
        </ul>
      </dd>
      <dd id="caiwu">
        <div class="title"><span></span>财务管理<i class="down_i"></i></div>
        <ul class="menuson">
          <li>
            <cite></cite
            ><a href="../html/pages/store/moneySearch.html" target="right"
              >缴费信息管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/store/noMoneySearch.html" target="right"
              >分期未缴清信息查询</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/store/performanceConfig.html" target="right"
              >绩效配置</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/store/performanceList.html" target="right"
              >业绩清单</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/store/performanceSearch.html" target="right"
              >绩效查询</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/store/performanceJian.html" target="right"
              >业绩监控</a
            ><i></i>
          </li>
          <!-- <li>
            <cite></cite
            ><a
              href="../html/pages/store/achievementConfig.html?type=xl"
              target="right"
              >学历提升业绩配置</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/store/achievementConfig.html?type=zy"
              target="right"
              >职业技能业绩配置</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/store/achievementConfig.html?type=zc"
              target="right"
              >职称评审业绩配置</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a
              href="../html/pages/store/achievementConfig.html?type=zhy"
              target="right"
              >执业资格业绩配置</a
            ><i></i>
          </li> -->
        </ul>
      </dd>
      <dd id="user">
        <div class="title"><span></span>用户管理<i class="down_i"></i></div>
        <ul class="menuson">
          <!-- <li><cite></cite><a href="../html/pages/trade/register.html" target="right">用户新增</a><i></i></li> -->
          <li>
            <cite></cite
            ><a href="../html/pages/trade/groupManage.html" target="right"
              >业务组管理</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/trade/teacherManage.html" target="right"
              >员工管理</a
            ><i></i>
          </li>
        </ul>
      </dd>
      <dd id="group">
        <div class="title"><span></span>团队管理<i class="down_i"></i></div>
        <ul class="menuson">
          <li>
            <cite></cite
            ><a href="../html/pages/group/performanceSearch.html" target="right"
              >业绩查询</a
            ><i></i>
          </li>
          <li>
            <cite></cite
            ><a href="../html/pages/group/baokaoSearch.html" target="right"
              >报考信息查询</a
            ><i></i>
          </li>
        </ul>
      </dd>
      <dd id="password">
        <div class="title"><span></span>密码管理<i class="down_i"></i></div>
        <ul class="menuson">
          <li>
            <cite></cite
            ><a href="../html/pages/login/repwd.html" target="right">修改密码</a
            ><i></i>
          </li>
        </ul>
      </dd>
    </dl>
    <script>
      $('a').click(function () {
        $('a').removeClass('active');
        console.log('222222222', $(this));
        $(this).addClass('active');
      });
      function hideMenu() {
        // $('#student').hide()
        $('#jiaowu').hide();
        $('#caiwu').hide();
        $('#user').hide();
        $('#group').hide();
      }
      var userInfo = localStorage.getItem('userInfo');
      if(!userInfo){
        top.location.href = './login.html'
      }else{
        var perm = JSON.parse(userInfo).perm;
        if ([2, 21, 22, 23, 24].includes(perm)) {
          hideMenu();
          $('#jiaowu').show();
          if (perm !== 2) {
            $('#export-21').hide();
            $('#export-22').hide();
            $('#export-23').hide();
            $('#export-24').hide();
          }
          if (perm === 21) {
            $('#export-21').show();
          }
          if (perm === 23) {
            $('#export-23').show();
          }
          if (perm === 24) {
            $('#export-24').show();
          }
          if (perm === 22) {
            $('#export-22').show();
          }
        }
        if (perm == 3) {
          hideMenu();
          $('#caiwu').show();
        }
        if (perm == 4) {
          hideMenu();
          // $('#student').show()
        }
        if (perm == 5) {
          hideMenu();
          // $('#student').show()
          $('#group').show();
        }
      }
      
    </script>
  </body>
</html>
